﻿//IDailyInfoSoap.cs
//Copyright (c) 2013 StockSharp LLC, all rights reserved.
//This code module is part of StockSharp library.
//This code is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.
//See the file License.txt for the license details.
//More info on: http://stocksharp.com

namespace StockSharp.Algo
{
	using System;
	using System.Data;
	using System.ServiceModel;

	/// <summary>
	/// Интерфейс для доступа к сервису валют.
	/// </summary>
	[ServiceContract(Namespace = "http://web.cbr.ru/")]
	public interface IDailyInfoSoap
	{
		/// <summary>
		/// Получить курсы валют на определенную дату.
		/// </summary>
		/// <param name="date">Дата курсов.</param>
		/// <returns>Курсы валют.</returns>
		[OperationContract(Action = "http://web.cbr.ru/GetCursOnDate", ReplyAction = "*")]
		[XmlSerializerFormat]
		DataSet GetCursOnDate([MessageParameter(Name = "On_date")]DateTime date);
	}
}